package ee.maoinvest.backend.model.dao;

import ee.maoinvest.backend.model.data.ElectricityMeterReading;
import ee.maoinvest.backend.model.data.ReadingType;

public interface ElectricityMeterReadingDAO 
{
	public int insertElectricityMeterReading(ElectricityMeterReading electricityMeterReading);
	public ElectricityMeterReading getElectricityMeterReadingByID(int electricityMeterReadingID);
	public int updateElectricityMeterReading(ElectricityMeterReading electricityMeterReading);
	public int deleteElectricityMeterReading(int electricityMeterReadingID);
	
	public ElectricityMeterReading getElectricityMeterLastReadings(int electricityMeterID);
	
	public ReadingType getTypeOfTheMostRecentElectricityMeterReading();
}
